A note about an O(ON) alignment algorithm