Algebras and spaces of dense constancies