New legislation aims to benefit first home buyers and downsizers