deprecation: searchsorted => searchsortedfirst.