Dependency of static methods  refactoring
Create the new hypersearch method that will replace the existing one.
This method guarantees assignation of the variables



Change-Id: I964f70e26480048c6ea7c6a593e9febfcba5cfc1
Dependency of static methods  refactoring
Replace the calls from the old method to the new methods that ensures
variables are set.
Old method that has implicit dependencies has been made private, so no
class can call it from outside, only the new method is calling it.

Change-Id: I6f24293e1bed130b71d70cc24f4d48cfb563d3b0