Improve bisecting of dates