Done realloc and changing bin strategy