Added block size logic.