some tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
new version of mergeData(...), now more flexible and general (needs testing)...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>