using fixed length for memory alloc