* added random scenarios to test differences with queue length for
gradient