[PD] getting the current size of the gemwin