A study of fitness distance correlation as a difficulty measure in genetic programming