Replaced all 32s with tileSize

Please remeber to use the tileSize variable instead of 32 in the future.