Finding the best edge space now works in Needleman-Wunsch alignment