calculation of max steps and time interval in activity patterns