How to avoid paying too much for a home