Worked on C++ implementation of chem, wrong branch though.
Reverted to sections.