fix calculation diff for unsharp
move to integer arifmetic
inset const