lib: remove excessive bounds