debugged all the random growth functions