code: function allocate(height, length) {
  	var node = new Array(length);
  	node.height = height;
  	if (height > 0) {
  		node.sizes = new Array(length);
  	}
  	return node;
  }
docs: Creates a node or leaf with a given length at their arrays for performance. Is only used by shuffle.