In an effort to solve the problem a new kind of housing was built-the tenement. A tenement house was a six-or seven-story building designed to hold as many families as possible. Most were stifling , cramped , and hazardous. In 1878 a contest for architects was held to try to come up with a safer , better-designed tenement.