replced new HashMap<String, Short>() with new THashMap<String, Short>()).
This saves RAM but increases CPU