factor gets deep flag

This is documented in the docstring with an example.