Before revision:  Since the mid-price is taken from the exchange, the resilience of the limit order book also affects the optimal allocation of shares in the dark pool.
After revision:  Since the mid-price is taken from the exchange, the dynamics of the limit order book also affects the optimal allocation of shares in the dark pool.