Add block validation, work on #7

Also lock distance checked to max possible bridge length.