Router loader optimization