Fix percentage calculations for wasting.