Make reshape support foreach_tile() and tile_shape().
Some comments