remove passes, minor improvements
Fix for finding  initial region