serializer size code