Datatype of uint32 is too small for memory values. Switch to double.