split stack declarations from definitions