optimize randomdotkinematogram