Fixed encode points for tcp