added cascading top-k sample