allocate major statically