Fix math error, adjust constants