Happy that it helped. Hopefully it helps someone to not make those mistakes.
Moreover, the energy(ie money ) to sell will be lost if you try to sell a not-baked-product whereas spending to upgrade the product is never lost... So yes, this building vs selling is to be nuanced ....