Removed dependency to the sliding window in LiteralDecoder (will do the same for LiteralEncoder soon).
Implemented more price computation. I hope they are correct.