initial mirror write bitmap implementation