use binary search for finding chunk start