American homes getting smaller with rising costs, mortgage rates