@@ -949,7 +949,7 @@ begin
iter := high(iter);
while assigned(pcurr) and (iter>0) do
begin
- if (pcurr^.size>size) then
+ if (pcurr^.size>=size) then
if not assigned(pbest) or (pcurr^.size<pbest^.size) then