https://9lib.org/document/zlgpw3gy-use-subarrays-linear-array-improving-angular-scanning-performance.html