Fixed issues with the point compression code.