minus distance check