[PD-dev] Flext and array allocation