Added a naive active region criterion.