Parse currency less strictly in the browser
Decomposition calculated correctly when a blueprint appears in 2 places in the tree