Add png to forwardtrace algorithm