scale calculation hard coded