Resource function for bcolz

Fixed