[PD] How to map GOP size dynamically