fix: calculation of scale parameter
Merge remote-tracking branch 'origin/master'