Home prices rose 31%, making it tough for buyers to afford loans for the average-priced home.