Smaller inventory of homes is big factor in improved market