Added dynamic tower height support