anchor.diff:                  pb.PutUInt32 (prevPageNumber) // prev page num.
                   pb.PutUInt16 (0us) // number of pairs in this page. zero for now. written at end.
               let available = pb.Available
  -            if (available >= neededForInlineBoth) then
  +            if (available >= neededForBothInline) then
                   putArrayWithLength pb k
                   putStreamWithLength pb v
               else
  
positive.code:             let neededForValueInline = 1 + if v<>null then Varint.SpaceNeededFor(uint64 v.Length) + int v.Length else 0
              let neededForValueOverflow = 1 + if v<>null then Varint.SpaceNeededFor(uint64 v.Length) + neededForOverflowPageNumber else 0
  
              let neededForInlineBoth = neededForKeyInline + neededForValueInline
              let neededForKeyInlineValueOverflow = neededForKeyInline + neededForValueOverflow
              let neededForOverflowBoth = neededForKeyOverflow + neededForValueOverflow
  
              csr.Next()
  
              if pb.Position > 0 then
                  let avail = pb.Available
                  let mutable flushThisPage = false
                  if (avail >= neededForInlineBoth) then ()
                  else if ((PAGE_SIZE - LEAF_HEADER_SIZE) >= neededForInlineBoth) then flushThisPage <- true
                  else if (avail >= neededForKeyInlineValueOverflow) then ()
                  else if (avail < neededForOverflowBoth) then flushThisPage <- true
                  if flushThisPage then
                      pb.PutUInt16At (OFFSET_COUNT_PAIRS, uint16 countPairs)
                      pb.Flush(fs)
  
negative.code:             let neededForOverflow = 1 + Varint.SpaceNeededFor (uint64 k.Length) + 4 + Varint.SpaceNeededFor (uint64 pagenum)
              let isLastChild = (i = (children.Count - 1))
              if (sofar > 0) then
                  let couldBeRoot = (nextGeneration.Count = 0)
                  let avail = calcAvailable sofar couldBeRoot 
                  let fitsInline = (avail >= neededForInline)
                  let wouldFitInlineOnNextPage = ((PAGE_SIZE - PARENT_NODE_HEADER_SIZE) >= neededForInline)
                  let fitsOverflow = (avail >= neededForOverflow)
                  let flushThisPage = isLastChild || ((not fitsInline) && (wouldFitInlineOnNextPage || (not fitsOverflow))) 
                  let isRootNode = isLastChild && couldBeRoot
  
                  if flushThisPage then
                      buildParentPage isRootNode firstLeaf lastLeaf overflows pb children i first
                      pb.Flush(fs)
  