loop depends on height