Add assembling final maps function