bins.c: hack for better resolution