add read parameter added
compute average island size and average difference
various improvements