ENH: remove Boykov code