fixed weighted edges