improve memory consumption replace custom hashmap by neo4j BatchInserterIndex