use MAX_FILLED=40.

TODO: make it configurable.