fixed coincidence prediction and implemented
repulsive force between nodes and axis-aligned edges