adds heights to block