https://github.com/pommi/CGP/commit/8c181dc1e7fc07bb9b61e8465ba04e9d4c5b7838