updateAncestorSize

fun updateAncestorSize(delta: Int, includeRemoved: Boolean = false)

Updates the size of the ancestors. It is used when the size of the node is changed. If includeRemoved is true, it updates ancestors totalSize including removed nodes.