clip all tiles

commit to master from Lei