Refactor space bitmap to be a value object
am: 6f38201339

Change-Id: Ifbe48e29ef560ff1e55c76b21cdb1b37801715c0