Improved ClusterGraph and JTree (added 'maxmem' property)