fixed numerical error for mooijbound