3rd byte is not handled correctly in Param function.

Need to cast to long before left shift.