clustering is done now according parameters in Config.java