i just gave up..
it actually works, but you need to let it calculate for VERY long.
after it figured out the sulfuric acid, it actually runs better, but i'm afraid i can't do much more for you.
right now testing how long it actually takes to calculate the sulfuric acid with unlimited scanning depth, it's already been 3-5 minutes...