use rounding instead of cast in me wastage