I guess that B became too large (or too small). Could you insert ?B between line 17 and 18, and run the modified program?