from 1000 to 500 length of animation