Added QM in Grasp generator