lastNeighbour fix on moveBoundary