Crossing River Break Problem Apart

Added in constraints of the problem.