simplifying scale calculation

Change-Id: If168245a37227feac667cac7b424c05420653cdc