ParseInt replaced with ~~ to improve decoding speed.