Things you need to think about when calculating an affordable mortgage.