Hash method uses off and len arguments
Added reduced hash size optimisation