Cluster structure near beta-stability and far from stability