Create algorithm from toolchain block

Not sure how this would be done...would probably need to change alot