In the bounds block, you use ```where(...)[0][0]```, which might be better here too.