refactor(library): use new 'structure' command to define prod and sigma