improvement for binary split