pack a point3f to a single uint to save memory