tweaked the squared algorithm to center the auton grid