Pošalji zapis e-mailom: Optimization of an irreversible Carnot engine in finite time and finite size