white space calculation..