optimizing orderbook storage