optimise the algorithm for low bpm detections