BUG: shape determined from pulse programs with string variables