RandomizedPrim working.