Revising building codes that require more than one stairway in small apartment buildings could increase the supply of affordable housing.