writen wrapper for cstacks catalogue construction.