Result indexes should be 2 len arrays