All 1 factors are in a consecutive range of variables.
This is, admittedly, a very crude filtering mechanism, and any real scene engine would likely have a range of variables that would affect the direction of a person through the scenario.
By taking these spatial points as initial guess, all exact real solutions within a certain range of variables are found using unrestraint optimization.