Set the wait time to 0 in the first loop, then the „detection“ will happen faster.
PR‘s are welcome :wink: