Revert "using subset cursor instead of randomaccessible"

This reverts commit 979fe8c3212a674f7e1f68eba7a1bf7fd5dc9f31.