staff detection with stable paths