replace bisect