Getting the best bang for the buck in homebuying.