Customize halfway commit