Combine some points into sample codes