add multiple packs, unpack, change shape to equation support, move most of plan variables into initializer