Patch: taking into account big numbers.
Signed-off-by: Tomasz Kamiński <kaminski.tomasz.a@gmail.com>