added NaN test for check_bounded