Merged statical algo with minime statical algo