public void Prepare(IReadService readService, out OperationStartupData data) { // We comoute how many blocks are needed. uint allocations = tree.InspectForInserting(readService, index, before); allocations += BlockHelper.MaxBlocksForObject(readService.BlockSize, (ulong)objectData.LongLength); data = new OperationStartupData(tree.RootAddress, allocations); }