use memory/cpu trace instead of random numbers