The checks were wrong because of the leading linefeed. Also, the space-before is not suitable in this case ATM for a space before that block. Using a bc with fixed height instead.