Fixed the way of dividing scale factors
Removed a debug message