Speed up the calculation for inner/face sites at program startup