mkProfile now removes useless elements of the list. Useless elements are those which are neither a right nor a left limit.