Autotile implementation