However, my method seems to also fail at large heights.