Upgraded mechanics of matrix generation