cleaning up to modify
new pruning based on center shifts as well
trying out a bunch of different techniques, none worked