figuring out alignment and granularity