A canonical representation of multistep reactions