tornado only load matrix once