Text this: Optimal scalable redeployment algorithm of relay nodes in wireless sensor networks