apply optimizations from : https://github.com/jack-pappas/fs-core-optimized , thanks to Jack Pappas