Changed default weight from 1 to infinity, th what it should have been the entire time