decrease size when after removing element