segmented drawing
margin is now being used
mod-width and mod-height added