Было here is used as 'almost'.