Finite Sample Complexity Analysis of Binary Segmentation