flash sizes should be correct, TODO: test