Made the generation of equation systems faster.