modernization: introduced the generic ROP search algorithm ; still under tests though