repulsion now depends on quadratic rather than linear distance