bilinear resampling to tile

added bilinear resampling to tile generation for smoother results