test new algorithm