fixed L for generalized TPSA
build_L with ic as index