Spatial Filter

improved the spatial filter for the messages