Uses .size in layer test