calculate 1051 GIFs