Stochastic premarshalling of block stacking warehouses