Added the C version of frontier-stpath