allocate raw bytes of new record in heap