remove constants from code, bitamp are automatically centered in the flip_layer