set max GOP size as 8