Add size weighting to the script am: dd49278c4a
am: c52a7e7943

Change-Id: I533041c9df44d56247843af3b015d5f4914d0ca3