Added stack merging and splitting communication prototypes