This line was hard to read and understand before; it's even harder now, which makes me concerned that it will be harder still to modify in the future.  Can you make this easier to read, perhaps by something like splitting it into mutiple lines with well-named intermediate variables?