changed some magic numbers -> defined constants (constants.pde)