A 10ish inch long handguard is not uncommon these days with 10.3-11.5 barrels, which beats the M4 by 3 inches.
For indoor stuff, I really like the Mk18 sized guns, mostly because with a decent suppressor the barrel is right around that of an M4, which works decently indoors.