i = 0 h -1 = d h -1 d -1