Modifying boundary for union domain