get longest tower (sorting bad solution)