Moved invalid edge exception throw from edge calculation to roll