added mode='c' to _center_inplace_atom_major declaration to be sure that array to be centered is contiguous in memory