Improved space bounds for Fréchet distance queries