See detailed analysis in https://github.com/EESSI/software-layer-scripts/pull/115#issuecomment-3450666867