Use real subtree rank instead of size

Use the rank as in the CLRS book. Avoids initializing array to 1.