Starting from scratch with coordinate distance checking.