Is it possible to customize the width of a window when it is resized by mooving it to the borders of the screen?

In my case, the size they get is smaller than what it would be useful, and smaller than half of the screen. While the feature itself is very nice, it will be only really useful if the size of the snaped window is adequate.