Plenty of room there for 1 more tooth.
We raced many many cr250's in Baja. The funniest was running 37 tooth rears and the chain would hit the hub at the sprocket bolt areas. We generally ran 39's.
I kinda doubt you're planning to go to that extent.