new constant alloc method