Allocate group member buffer size as needed

Replace fixed size buffer with a buffer that can grow as needed.