Division by zero test and handling when moving to the same location