Replace piece_coords with for_xy_in_piece.
Rename to call_fn_for_xy_in_piece; more verby name