Proper centering and positioning of the atoms and buckets