Use trove4j efficient memory maps. Each layer has one independent cache.