Generating all the Steiner trees and computing Steiner intervals for a fixed number of terminals