Element 'distribution algorithm'