planet distribution algorithm