Maximizing lifetime of homogeneous wireless sensor network through energy efficient clustering method