reading hopping matrix fast