exit saveHeights early if no changes