fixed the bug related to rounding off and mcc calculations