measuring solid level in container