Fixed allocation-bug for bins