adding scorpu algorithm