apply constant offsets at build time