Coefficient of consolidation of a soil is affected by