Make multi-atom TPI reproducible