added box geometry type and changed inner geometry storage method to hashmap