Refactoring LZ09 problems