implament adjustable tile size