Prompt Space Optimizing Few-shot Reasoning Success with Large Language Models