Reachability from initial state is also checked when obtaining set of useful states.