Cleaned up bin_dimensions.c