[BUG] incorrect value of last block in block device protocol for partitions