Keeping up your leg strength is by far the most important thing right now. I don´t know if you take pain meds but don´t feel bad about doing so if it can keep you moving naturally for a couple more weeks. Better that than having antalgic posture produce more problems in the meantime. Sounds like you´re doing all you can to prep for surgery.