finish decoder figure