A Smart Placement Optimized Sink Mechanism for Wireless Sensor Networks