Added documentation for merging cubes