Added octreeMap function