Fixed Scaling Error

Same Digit which is multiple times in a number is now scale only once