plugins: GrainBuf - allocate grain after reading window