[arty] Don't generate points too close to existing points in static graph
[arty] Removes some duplicated code by refactoring