partly fixes memory generation for degree-index-lt order