commenting unwanted code
use rectangle bbox for area thresholds