Looks like a regular for loop would make this couple of lines a bit more readable.