implements spacing. Got strange height calculations after reloading.