collapse independent variables s and t