fixed the rounding of needed points value