Improve gradient-descent algorithm to avoid tiny blocks.
Improve gradient-descent algorithm to avoid tiny blocks.

Also, large blocks now truncate at region boundaries.

01org/yask,01org/yask,01org/yask,01org/yask