These should be using bound_sym from misc_math.h - I'm not sure where this bound method is coming from but it should be removed and those calls all changed to bound_sym or bound_min_max