Fix some wrong numbers for build.
Replace magic number.