cu/net2: change cost to float