The fitness function used for ranking and selection in Autogrow4 was modified for guiding the evolution of the population for the design of molecules with improved permeability through the Blood-Brain-Barrier. The modified version of Autogrow4 was named STgrow4. The fitness in the genetic algorithm based STgrow4 can be improved either by improvement of binding affinity or by improvement of LogBB.