The envelope (a step function) takes the maximum running time over all inputs of each length in base k, giving an upper bound on cost as the input grows; the underlying per-input runtimes come from
option toggles the envelope. Choose an input range in which every machine halts within n steps — non-halting inputs have infinite runtime and cannot be placed on the plot.