wip doc: initial description of adaptive threshold