Spacing solver, v1