removed indexing of last block; much faster