caching for genetic programming reduced docs
merged