Changed calculation for calculating scale for piece