check for break condition earlier in generate_bell