Improve memory handling in tiling/projection