Added missing algorithm header