faster memset, fix hash index clear size