fix: precision set to 3 decimals for location shared vertices
already-in-grid detection for horizontal