buffer-sharing: align small resolution stride to 32