Fix granularity

Solves #7