what factors determine the kind of soil formed??