Chaotic Inflation with Time-Variable Space Dimensions