Stat before build