Slight modification to tile generation