[wip]randstruct seed from mempo. DO NOT USE THIS VERSION YET