Adding ranges for ODEnergy