NEWALG_CONST.CPP CLOSEST TO WHAT WE WANT