handle left and right bkg constraints