changed sys.getsizeof to len