merge the thickline branch polygon fix