Added optimization and limiting elements in a table in serializer (Serpent 0.25).