Fixed a mistake with the offset variable - virtual size that was bigger than 2^32 did not work well

Signed-off-by: Tal Kain <tal.kain@ravellosystems.com>