Try to use randomIndices like Fusion