ffmpeg - two videos having same video length but different file size
The -b:v doesn't have effect here since crf was set. Drop crf for similar sizes. CRF varies the bitrate to do justice to the complexity of the video. It aims for keeping quality constant.

Whether it's bitrate or CRF mode, the maxrate and bufsize do take effect.