changes names to be printed left adjusted
fixes result for identical sequences