Tiling script: make tile size adjustable