Use height of items to compute heightDelta