Adjust algebra format