Re-implement place_center with jactry's way, thanks!