Empty region detection