Refactoring wallet layout recovery algorithm