integrated step detection with Two Lock Queue