remove un needed memcpy of every frame