[Refactoring] Replaced magic numbers by constant