Locating the center of each piece.