rect exclusions for search
changed MAX_WHITE_COUNT