Corrected connections array to have connection indeces that can be taken from the destination station of the current station. Logged the size of connections array.