geometric realization of smooth cocycle