finish spiral matrix