Algorithm #1: utilize precalculated squared coords