Using data clustering to improve cleaning performance for plash memory