Allowing the bars to set for the recommended time before slicing helps the layers firm up and adhere together. Using a sharp, heated knife and making swift cuts can also help prevent separation.