Modifications in exhaustive search