If you sell you could keep the loan open and transfer it onto another property you buy using loan portability. Most lenders you don't need to qualify for the lending again the same loan remains open just a new security. You would know your exact budget to buy once you sold the current property...