fixed the self-signalling bug. Parallel works now
forking is somehow faster than no forking  o.O
more improvements
remove loops
Removing modulo 5.5x speedup
Inverting the loop. ~7.3x speedup
trying to cleanup the code, but perf decreased
More cleanup
changing file name