fix bounds for paths with borders