Linear time bounds for median computations | Synapse