Codemapping Real-Time Dense Mapping For Sparse Slam Using Compact Scene Representations