Regulatory hurdles — such as outdated building codes, minimum unit sizes and natural light requirements — push up costs.