Moved queue to .findHeight function