Re-merging volumes after decomposition

How can I merge two bodies or volumes into a single volume after decomposing them ?

I solved it. The boolean operations can be used to unite bodies!