Iterator<EntityProto> i = res.entityIterator();
int cost = 0;
while (i.hasNext()) {
cost += 25;
EntityProto ep = i.next();
Iterator<Property> pi = ep.propertyIterator();
while (pi.hasNext()) {
Property p = pi.next();
Meaning m = p.getMeaningEnum();
if (m != null) {
if (m.compareTo(Meaning.BLOB) != 0