refine disk clean algorithm