An adaptive density-guided approach for the generation of potential energy surfaces of polyatomic molecules