Towards an Efficient Use of Memory in Evaluation of Configuration Space of a Robot