Autotiling with artifacts

Autotiling works now, but artifacts remain in edge cases

Signed-off-by: Oz Ramos <labofoz@gmail.com>