remove index-based step from log clean (too inefficient); handle deletion in batches