Two algorithms for computing the general component of jet scheme and applications. (November 2022)