LPIS: add universal way merging