moved init of stack variables to prevent error: jump to label ‘__label_9’ crosses initialization of ‘shape_%(cdna)s[nd]’