Length of edges was reverted to integer (instead of double).