Modify tryConvertPrefix function with adding push into ope stack