<div dir="ltr">I don't think centering the coordinates is what you need, since this would not apply periodic boundary conditions. If the distance between atoms is larger than the unit cell, they would still be placed outside.<br></div>