fix implicit conversion in TemporaryStorage
mark temporaries const
fix implcit conversion in RestrictionMap
fix implcit conversion in DynamicGraph