fixing chunked search efficiency
adding rules to create elaborate cycle chunks
merge with master