Extending Gromov’s optimal systolic inequality