Non affine variables and microstructure selection in solids