Descibe plane to plane merging decision algorithm
move merging functions to dedicated merge.cpp