point compression bug fix