check written size