Compact engine