As Taifun suggested, share your Blocks. What needs to be coded depends on what you coded.
What did you set the LocationSensor.TImeInterval to?
'by up to 40 m' is the expected behavior. You might read the section in Using the Location Sensor regarding Accuracy. What Accuracy you get depends on the number of satellites used in the satellite fix, whether you are inside or outside, whether it is raining etc. The most likely usual accuracy is about 10 for most devices, ranging from about 2 on occasion to 40 or 50.
????
Don't use the LocationSensor, use one of the extensions perhaps.
or
Google Maps and the Location Sensor (running simultaneously to achieve better Accuracy) - #5 by SteveJG might work for you but it is an awkward way to use your app.