Add support for tile sizes other than 256x256.