The distribution of organisms in a fresh water habitat like a stream or pond is determined by the following factors except