Custom map added, improves speed and reduces memory usage.