dynamically calculate size of cluster to load