correct logic in perfect..min size search (#30)
correct logic in perfect..min size search (#30)

* correct logic on min..max size search

* we want perfect..min, not max..min

mat/besticon,mat/besticon,mat/besticon