long matrix 2 step