Simpler loop detection for cdotaplyer