NB-IoT: Performance estimation and optimal configuration