move magic number into variable and increase position tolerance.
fixes mistake in block_type assignment.