binary first iteration