Fixed problem with constants calculation