set up datum size for WindowDataLayer

set up datum size for WindowDataLayer to adapt for the new BaseDataLayer inferface.