int maxNodeEntries = Integer.parseInt(props.getProperty("MaxNodeEntries", "0"));
float fillFactor = (float) minNodeEntries / (float) maxNodeEntries;
// create a memory-based storage manager
storageManager = new MemoryStorageManager();
PropertySet propertySet = new PropertySet();
propertySet.setProperty("FillFactor", new Double(fillFactor));
propertySet.setProperty("IndexCapacity", new Integer(maxNodeEntries));
propertySet.setProperty("LeafCapacity", new Integer(maxNodeEntries));
propertySet.setProperty("Dimension", new Integer(2));