This whole sentence seems a bit hard to follow to begin with, but these commas aren't right: despite the use of 'which', that's not a parenthetical.