adding switch case to enforce explicit dimentions

This will prevent any assumed margins (ignoring headers/footers).