[CPML] Corrected extents computation