Added support for 4 weights.
Added tapsize