Moved constant intializations into edge constructor from node constructor.