added floor to cell width calculation to prevent partial pixel layout. Fixes #33