This reverts commit 390dc94562.
After testing this is approx half the speed of a for loop.
Add missing break and assign snap_elements to a variable.
This reverts commit 390dc94562.
After testing this is approx half the speed of a for loop.
Add missing break and assign snap_elements to a variable.