better posmerge.c