Abstract code. Make tile size smaller.