Use kB as unit when determining partition boundaries

This is more of a workaround to help in cases with bigger partitions.
Using sectors would probably be a more appropriate fix.