Generalized BBP and parallelized