Heat engines in finite time governed by master equations | Synapse