It was possible! Thanks to @lanodan idea I got down to 412KB!https://gist.github.com/p4bl0-/abf4960f07045d7a443230a46e73b849