Replaced no_<var> with n_<var>
Using itertools.product for better performance