Even five stories would let you get about double a density we have today. The typical Somerville home is two full stories and half a third story.
If it were legal to build much taller, though, I do think people would be happy to do that next to the subway stations. Yes, the cost goes up, but people are very interested in living right next to the station.