Mesh of trees topology for output queued switches: Trading speed-up with a pipeline technique