The clustering behavior of sliding windows