Binary search and first version of stoftsvans.