fixes and improvements in KestOnQuadrats