update create_open device selection algorithm

the device selection algorithm now takes device weights into account as well as limiting the empty:full percent_free ratio