replacing map container to multi-index container