Further developments of fragment merge. Not working yet.