Fix iteration bounds for repulsive force