Better region detection