analysis work and fixes to compustate/merge pipeline