You still have alot of time to reach 40, it shouldn't be a problem. But in the future if this is a concern for you, and this generally works with any battlepass, just wait until you're sure you can max it out before buying. I like to wait until I reach a high rank before cashing in.