bilinear resampling to tile

added bilinear resampling to tile generationg for smoother results