add comments in get minimum abstract algorithm