Trying to work on transition for different number of hubs