Fix filling in of bounds