fix SmallesPosDiff