fitting LDPs