improve code for ppu sprite_evaluate.