Reversible pebbling for line estimator