N x N optical interconnection network with reduced length