We study properties of the block rearrangement algorithm (BRA) in the context of inferring dependence among variables given their marginal distributions and the distribution of their sum. We show that when all distributions are Gaussian the BRA yields solutions that are "close to each other" and exhibit almost maximum entropy, i.e., the inferred dependence is Gaussian with a correlation matrix that has maximum possible determinant. We provide evidence that, when the distributions are no longer Gaussian, the property of maximum determinant continues to hold. The consequences of these findings are that the BRA can be used as a stable algorithm for inferring a dependence that is economically meaningful.