add binary search to find wordline
add binary search to find wordline