Factorize SFCGAL function wrapping