An efficient algorithm for large-scale RFID Network Planning