Cherry-picking functionally relevant substates from long md trajectories using a stratified sampling approach