ヘッドルームであれば
heddorūmudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of ヘッドルーム

1. If there is headroom; Provided there is headroom; Assuming there is headroom

Ba Conditional