more details about time taken in algo
introduced separate creation for shortcut and edge; minor bug fix