Move some constants to consts.h ; style