new algo for properties merging, beggining