Implemented the union operator to take the union of parents and current
bounds.