keyExpansion() almots complete