An APIT localization algorithm based on the minimum sum of signal strength for wireless sensor networks