modifiable PIXELS_TO_METERS
serious bug correction