Refactor tile-size to a constant