fixed a small problem of double detections on branch and bound scan
Additional refinement, but it seems that fastDP is still slightly inferior to alpha expansion