add automatic tiling optimization

Why is tile_hint a Int?