run-mold function

mold() according to a blueprint