Faced with a supply crunch and rising costs, the state has taken steps to make housing more plentiful and more affordable.