optmize constants
Merge branch 'master' of github.com:aeonlin/sheepdog