Remove outer for loop in dense case predict