BUG: Make center.py more precise