https://github.com/pommi/CGP/commit/bd029dfebd07ae4a6e188e8623cf99b228e5d577