Final mutliblock detection algorithm

Signed-off-by: Sunstrike <sunstrike@azurenode.net>