min changes to search